![]() |
PATH![]() |
![]() ![]() |
A constant is a reserved word with a predefined value. AppleScript provides constants to help your scripts perform a variety of tasks, such as retrieving properties, performing comparisons, and performing arithmetic operations. Constants are defined in several ways, including as part of the AppleScript language (the Boolean constants true and false ), as global properties of AppleScript ( tab , space , pi , return ), and as individual value classes with predefined values ( Monday through Sunday and January through December ).
Knowing how constants are defined is less important, however, than knowing which constants are available and how to use them. The following sections list constants you use for specific tasks, show how to use the constants in a script, and provide links to related information: